package file;

import java.io.File;

public class Test4 {
    public static void main(String[] args) {

        File file = new File("D:/sweet.txt");
        file.delete();//删除
    }
}
